<?php
/**
 * 商品管理
 * @author wubaiqing<wubaiqing@vip.qq.com>
 * @copyright Copyright (c) 2013 今天值得买
 * @since 1.5
 */
class Gold extends ActiveRecord implements IArrayable
{
	/**
	 * 表名
	 * @return string
	 */
    public function tableName()
    {
        return '{{gold}}';
    }

	/**
	 * 验证规则
	 * @return array
	 */
    public function rules()
    {
        return array(
			array('alipay, ip, status, created_at, updated_at', 'safe')
        );
    }


}
